package facades;

public class Notification 
{
	Object UpdatedItem;
	NotificationEnum notification;
	NotificationEnum action;
	
	
	public void setAction(NotificationEnum action)
	{
		this.action = action;
	}

	public Notification(Object updatedItem, NotificationEnum notification)
	{
		this.UpdatedItem= updatedItem;
		this.notification=notification;
		this.action=null;
		
	}
	
	public Notification(Object updatedItem, NotificationEnum notification, NotificationEnum action)
	{
		this.UpdatedItem= updatedItem;
		this.notification=notification;
		this.action=action;
	}

	/**
	 * @return the updatedItem
	 */
	public Object getUpdatedItem()
	{
		return UpdatedItem;
	}

	/**
	 * @param updatedItem the updatedItem to set
	 */
	public void setUpdatedItem(Object updatedItem)
	{
		UpdatedItem = updatedItem;
	}

	/**
	 * @return the notification
	 */
	public NotificationEnum getNotification()
	{
		return notification;
	}

	/**
	 * @param notification the notification to set
	 */
	public void setNotification(NotificationEnum notification)
	{
		this.notification = notification;
	}
	
	/**
	 * @return the action
	 */
	public NotificationEnum getAction()
	{
		return action;
	}

	/**
	 * @param action the action to set
	 */
	
	
	
}
